<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加礼品</title>
<script type="text/javascript" src="themes/js/frame/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="themes/js/frame/jquery.wysiwyg.js"></script>
<link rel="stylesheet" href="themes/css/frame/jquery.wysiwyg.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="themes/css/frame/base.css">
<script type="text/javascript">
  $(function(){
      $('#textarea').wysiwyg();
  });
</script>
</head>
<body leftmargin="8" topmargin="8" background='themes/images/allbg.gif'>

<!--  快速转换位置按钮  -->
<table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center">
<tr>
 <td height="26" background="themes/images/newlinebg3.gif">
  <table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td align="center">添加礼物</td>
 </tr>
</table>
</td>
</tr>
</table>

<!--  添加表单  -->
<form name='form3' action='<{spUrl c=admin a=addgift}>' method='post'>
<table width='98%'  border='0' cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' align="left" style="margin-top:8px">
  <tr bgcolor='#EEF4EA'>
    <td background='themes/images/wbg.gif' align='center'>
      <table border='0' cellpadding='0' cellspacing='0'>
		<tr><td width='60'>分类</td>
			<td width='160'>
			<select name=gift[catid]>
				<{html_options options=$giftcats selected=3}>
			</select>
			</td></tr>
		<tr><td width='60'>名称</td><td width='160'><input type='text' name='gift[name]' value='' style='width:50px' /></td></tr>
		<tr><td width='60'>图片地址</td><td width='160'><input type='text' name='gift[image_url]' value='<{$image_url}>' style='width:300px' /></td></tr>
		<tr><td width='60'>价格</td><td width='160'><input type='text' name='gift[price]' value='' style='width:50px' /></td></tr>
		<tr><td width='60'>价值</td><td width='160'><input type='text' name='gift[value]' value='' style='width:50px' /></td></tr>
		<tr><td colspan='2'><input name="imageField" type="submit"  width="45" height="20" border="0"  value="提交"/></tr>
      </table>
    </td>
  </tr>
</table>
</form>
</body>
</html>